<%@ page language="java" contentType="text/html; charset=UTF-8"%>

<form class="form-inline" role="form">

 <div class="form-group col-md-2 text-right">
    <label class="sr-only">总金额：</label>
    <p class="form-control-static">总金额：</p>
  </div>
      <div class="form-group">
        <input type="text" class="form-control " id="order-money" name = "totalMoney" readonly>
      </div>
       <div class="form-group  text-right">
    <label class="sr-only">支付方式：</label>
    <p class="form-control-static">支付方式：</p>
  </div>
   <div class="form-group">
        <label>
            <input type="radio" id="cash-way" name="way" class="minimal-red" value="0" checked/>
            现金
        </label>
        <label>
            <input type="radio" name="way" class="minimal-red" value="1"/>
            支付宝
        </label>
        <label>
            <input type="radio" name="way" class="minimal-red" value="2"/>
            银联
        </label>
        <label>
            <input type="radio" id="balance-way" name="way" class="minimal-red"  value="3" disabled/>
            会员余额
        </label>
    </div>   
  <br>       
 <br>  
  <div class="form-group col-md-2 text-right">
    <label class="sr-only">是否会员消费：</label>
    <p class="form-control-static">是否会员消费：</p>
  </div>
  <input type="checkbox" class="switch" id="order-is-customer" name="isCustomer" data-off-color="danger" data-on-color="primary" data-on-text="是" data-off-text="否" value="1"   />    
 
        <input type="hidden"  id="order-customerId" name="customerId">
        
      <div class="form-group hide order-customer">
        <label class="sr-only" for="order-cardno">卡号</label>
        <input type="text" class="form-control" id="order-cardno" placeholder="卡号">
      </div>
      <div class="form-group hide order-customer">
        <label class="sr-only" for="order-mobile">手机</label>
        <input type="text" class="form-control" id="order-mobile" placeholder="手机">
      </div>
      <div class="form-group hide order-customer">
        <label class="sr-only" for="order-name">姓名</label>
        <input type="text" class="form-control" id="order-name" placeholder="姓名" readonly>
      </div>
       <div class="form-group hide order-customer">
        <label class="sr-only" for="order-balance">余额</label>
        <input type="text" class="form-control" id="order-balance" placeholder="余额" name="balance" readonly>
      </div>
   
     <br>
      <br>
     <div class="form-group  col-md-2 text-right hide order-customer ">
        <label class="sr-only"> 是否充值：</label>
        <p class="form-control-static">是否充值：</p>
      </div>
      <div class="form-group   hide order-customer ">
      <input type="checkbox" class="switch " id="order-is-credit" name="isCredit" data-off-color="danger" data-on-color="primary" data-on-text="是" data-off-text="否" value="1"   />    
    </div>
      <div class="form-group hide order-credit">
        <label class="sr-only" for="order-credit">充值金额</label>
        <input type="text" class="form-control" id="order-credit" name="credit" placeholder="充值金额" >
      </div>
  
  <br>  

      <table class="table table-striped">
          <thead >
             <tr>
              <th>简码</th>
              <th>名称</th>
              <th>单价</th>
              <th>数量</th>
              <th>金额</th>
              <th><a  onclick="addNullOrder(this)"><i class="ion ion-plus-round"/></a></th>
             </tr>
          </thead>
          <tbody  id="order-table">
              <tr data-row="1" >
                  <td class="col-md-2"><div class="form-group"><input type="text" name="code" class="form-control order-jm input-sm"></div></td>
                  <td class="order-product-name"></td>
                  <td class="order-product-price"></td>
                  <td class="col-md-1"><div class="form-group"><input type="text" name="counts" class="form-control input-sm order-product-counts" onchange="changeCount(this)"></div></td>
                  <td class="order-product-money"></td>
                  <td ><a  onclick="delProduct(this)"><i class="fa fa-times"/></a> </td>
              </tr>
          </tbody>
      </table>

  </form>




